﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace WJP.DataPortal.WCF
{
    /// <summary>
    /// 定义Api数据门户的服务契约
    /// </summary>
    [ServiceContract]
    public interface IApiPortal
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        [OperationContract]
        ApiResponse Invoke(ApiRequest request);
    }
}
